package com.dexin.yang.front.controller.wellcome;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dexin.yang.entity.User;
import com.dexin.yang.manager.service.loginService.ILoginService;

@Controller
@RequestMapping(value="front/wellcome")
public class WellcomeController {

	@Autowired(required=true)
	private ILoginService loginService;
	
	@RequestMapping(value="index")
	public String login(){
		List<User> list = loginService.getAll(User.class);
		return "front/wellcome/index";
	}
}
